<!DOCTYPE html>
<html lang="lang=zh-cmn-Hans">
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no, width=device-width">
  <meta name="format-detection" content="telephone=no"/>
  <!--<meta http-equiv="Content-Security-Policy" content="default-src 'self'; frame-src 'self' * ">-->

  <title></title>

  <link href="lib/ionic/css/ionic.css" rel="stylesheet">
  <link href="css/style.css" rel="stylesheet">
  <link href="css/nav.css" rel="stylesheet">
  <link href="css/login.css" rel="stylesheet">
  <link href="css/delivery.css" rel="stylesheet">
  <link href="css/common.css" rel="stylesheet">
  <link href="css/project-log.css" rel="stylesheet">

  <link href="lib/define-content/define-content.css" rel="stylesheet">
  <link href="lib/dm-gallery/dm-gallery.css" rel="stylesheet">

  <!--hammer 手势监听样式-->
  <link href="css/hammer-define.css" rel="stylesheet">
  <link href="css/hammer-define-html.css" rel="stylesheet">

  <!-- IF using Sass (run gulp sass first), then uncomment below and remove the CSS includes above
  <link href="css/ionic.app.css" rel="stylesheet">
  -->
  <!-- ionic/angularjs js -->
  <script src="lib/ionic/js/ionic.bundle.js"></script>
  <script src="js/util/Connection.js"></script>

  <!-- cordova script (this will be a 404 during development) -->
  <script src="lib/ngCordova/dist/ng-cordova.js"></script>
  <script src="cordova.js"></script>

  <script src="lib/ngstorage/ngStorage.js"></script>
  <script src="lib/angular-svg-round-progressbar/build/roundProgress.js"></script>
  <script src="lib/ionic-cache-src/ionic-cache-src.js"></script>
  <script src="lib/ionic-datepicker/dist/ionic-datepicker.bundle.min.js"></script>

  <script src="lib/ionic-native-transitions/dist/ionic-native-transitions.js"></script>
  <!-- database lokijs -->
  <script src="lib/lokijs/src/lokijs.js"></script>
  <script src="lib/lokijs/src/loki-angular.js"></script>
  <script src="lib/lokijs/src/loki-indexed-adapter.js"></script>
  <script src="lib/loki-cordova-fs-adapter/bin/loki-cordova-fs-adapter.js"></script>

  <!--hammer 手势监听-->
  <script src="js/hammer/hammer.js"></script>

  <!--ngInclude内使用js-->
  <script src="js/useScript.js"></script>

  <!-- your app's js -->
  <script src="js/app.js"></script>
  <script src="js/router.js"></script>
  <script src="js/config.js"></script>
  <script src="js/controllers.js"></script>
  <script src="js/services.js"></script>
  <script src="js/directive.js"></script>

  <script src="js/modalservice.js"></script>
  <script src="lib/angular-resize/dist/angular-resize.js"></script>

  <script src="lib/define-content/define-content.js"></script>
  <script src="lib/dm-gallery/dm-gallery.js"></script>

  <!--<script src="js/guide/guideController.js"></script>-->

  <!--hammer 手势监听 图片实现-->
  <script src="js/hammer/hammer-define.js"></script>
  <script src="js/hammer/hammer-define-html.js"></script>

  <script src="js/htjd/htjdController.js"></script>

  <script src="js/user/userService.js"></script>
  <script src="js/user/userController.js"></script>
  <script src="js/user/update.js"></script>

  <script src="js/task/taskService.js"></script>
  <script src="js/task/taskController.js"></script>
  <script src="js/task/taskDirective.js"></script>

  <script src="js/task/task-extend/qutyChangeController.js"></script>
  <script src="js/task/task-extend/commonChoicePhoto.js"></script>

  <script src="js/lookup/spmsLookupService.js"></script>
  <script src="js/lookup/spmsCacheService.js"></script>

  <script src="js/projectTrack/projectTrackController.js"></script>

  <script src="js/my/myController.js"></script>

  <div id="hammer-mask"></div>
  <div id="hammer-bg" onclick="hideHammer(event)">
    <div id="hammer-box">
      <img id="image-big" src="">
    </div>
    <div id="hammer-page">1/1</div>
    <div id="hammer-page-ctrl">
      <span onclick="lastImg()" style="float: left"> < 上一张 </span>
      <span onclick="nextImg()" style="float: right"> 下一张 > </span>
    </div>
  </div>

  <!-- 遮罩 -->
  <div id="hammer-mask_html"></div>
  <div id="hammer-bg_html" onclick="hideHammer_html(event)">
    <div id="hammer-box_html">
      <img id="image-big_html" src="img/htjd01.png">
    </div>
    <div id="hammer-page_html">1/1</div>
    <div id="hammer-page-ctrl_html">
      <span onclick="lastImg_html()" style="float: left"> < 上一张 </span>
      <span onclick="nextImg_html()" style="float: right"> 下一张 > </span>
    </div>
  </div>
</head>
<body ng-app="starter">

<ion-nav-bar class="bar-calm spms-blue-bg">
  <ion-nav-back-button>
  </ion-nav-back-button>
</ion-nav-bar>
<!--
  The views will be rendered in the <ion-nav-view> directive below
  Templates are in the /templates folder (but you could also
  have templates inline in this html file if you'd like)..
-->

<ion-nav-view></ion-nav-view>
<script src="http://api.map.baidu.com/api?v=2.0&ak=Lu5gxGyIKnVtLI2b2RjD2s43jktRG8ok" id="baiduScript"></script>
<script>//<![CDATA[

function loadJs(id, fileUrl) {
  var scriptTag = document.getElementById(id);
  var oHead = document.getElementsByTagName('BODY')[0];
  var oScript = document.createElement("script");
  if (scriptTag) oHead.removeChild(scriptTag);
  oScript.id = id;
  oScript.type = "text/javascript";
  oScript.src = fileUrl;
  oHead.appendChild(oScript);
}

setTimeout(function () {
  if (typeof(BMap) == undefined) {
    document.getElementById('baiduScript').src = 'http://api.map.baidu.com/api?v=2.0&&ak=Lu5gxGyIKnVtLI2b2RjD2s43jktRG8ok';
  }
}, 5000);
//]]></script>
</body>
</html>
